package com.apobates.jforum2.troll.forum;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 版块服务的spring配置
 * @author xiaofanku
 * @since 20210411
 */
@Configuration
@EnableTransactionManagement(proxyTargetClass = true)
@ComponentScan(
        basePackages={"com.apobates.jforum2.troll.forum.biz.impl"}, 
        useDefaultFilters=false, 
        includeFilters={
            @ComponentScan.Filter(classes={org.springframework.stereotype.Service.class}),
            @ComponentScan.Filter(classes={org.springframework.stereotype.Repository.class}),
            @ComponentScan.Filter(classes={org.springframework.stereotype.Component.class})})
@Import(value={BoardActionLogAspect.class})
public class ForumConfig {
    
}